﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MedicareBusiness
{
    public interface CRUD<T>
    {
        void CreateElement(T obj);
        T GetElementById(int key);
        void UpdateElement(T obj);
        void DeleteElementById(int key);
        List<T> GetAllElements();
    }
}